% !TeX encoding = UTF-8
% !TeX program = xelatex
% !TeX spellcheck = en_US

%% dukang-doc.tex
%% Copyright 2022 William Yao <lnyk@me.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is William Yao <lnyk@me.com>
%
% This work consists of the files acv-dukang.cls and dukang-doc.tex
% and content files dukang-doc/* and associated project files such as
% Makefiles.


%-------------------------------------------------------------------------------
% 基本配置
%-------------------------------------------------------------------------------
% 默认为A4纸张，12pt字号，其实这里的字体设置基本没有效果，Awesome-CV每个部件都有自己的定义
\documentclass[12pt, a4paper, final]{acv-dukang}
%-------------------------------------------------------------------------------
% 使用geometry定义纸张边距
\geometry{left=1.4cm, top=.8cm, right=1.4cm, bottom=1.8cm, footskip=14.5pt}
%-------------------------------------------------------------------------------
% Aweosme-CV导言区设定部分
%-------------------------------------------------------------------------------
% 颜色配置，从下列套装中选择喜欢的配色
% Awesome Colors:
%   awesome-emerald, awesome-skyblue, awesome-red, awesome-pink, awesome-orange
%   awesome-nephritis, awesome-concrete, awesome-darknight
\colorlet{awesome}{awesome-red}
% 如果上面套装的字体颜色不喜欢，可以单独指定
% \definecolor{awesome}{HTML}{CA63A8}
% \definecolor{darktext}{HTML}{414141}
% \definecolor{text}{HTML}{333333}
% \definecolor{graytext}{HTML}{5D5D5D}
% \definecolor{lighttext}{HTML}{999999}
% \definecolor{sectiondivider}{HTML}{5D5D5D}
%-------------------------------------------------------------------------------
% 全局开关变量定义
% 是否使用高亮颜色配置来突出section标题
\setbool{acvSectionColorHighlight}{true}
%-------------------------------------------------------------------------------
% Header中社交媒体行的分隔符
% 目前指定为管道符 |
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
%-------------------------------------------------------------------------------


%-------------------------------------------------------------------------------
% 文档内容信息部分
%-------------------------------------------------------------------------------
%	个人信息
%	除了\name和\dukangPDFTitle必选以外，其余部分不需要的都可以注释掉
%-------------------------------------------------------------------------------
% 这个必须留着！
\name{ACV-Dukang}{手册}
\dukangPDFTitle{ACV-Dukang手册}
% 首页的图片Logo
% 可用选项为circle|rectangle,edge/noedge,left/right
\photo[rectangle,noedge,left]{./src/resource/dukang-logo}
\position{%
  \hyperref{https://github.com/posquit0/Awesome-CV}{}{}{Awesome-CV}{\enskip\faWineBottle\enskip}\dk
}
\address{基于\hyperref{https://github.com/posquit0/Awesome-CV}{}{}{Awesome-CV}进行中文化适应及无侵入增强的面向\LaTeX{}新人的快速开始项目}
%-------------------------------------------------------------------------------
% 社交媒体信息
% 至少有一条要保留
%-------------------------------------------------------------------------------
% \mobile{(+82) 10-9030-1843}
\email{lnyk@me.com}
% \dateofbirth{January 1st, 1970}
% \homepage{github.com/lnyk}
\github{lnyk}
% \linkedin{posquit0}
% \gitlab{gitlab-id}
% \stackoverflow{SO-id}{SO-name}
% \twitter{@twit}
% \skype{skype-id}
% \reddit{reddit-id}
% \medium{madium-id}
% \kaggle{kaggle-id}
% \googlescholar{googlescholar-id}{name-to-display}
%% 如果留空，会自动使用\firstname和\lastname
% \googlescholar{googlescholar-id}{}
\extrainfo{{\faWineBottle}~衷心感谢\hyperref{https://github.com/posquit0}{}{}{Byungjin Park}等童鞋的开源奉献}
\quote{“执着而不计成本，不为索取只为陶醉”——~Carl Zeiss}
%-------------------------------------------------------------------------------
% cvletter环境基本信息
% 所有内容都是必选，一个也不能少
%-------------------------------------------------------------------------------
% 收件方
\recipient
  {偶然到访或是兴趣所致的你}
  {{\LaTeX}, awesome-cv, {\dk}, template\\github, opensource}
% 信件日期
\letterdate{\today}
% 信件标题
\lettertitle{{\dk}}
% 信件称谓
\letteropening{亲爱的朋友：}
% 信件结尾词
\letterclosing{{\dk}项目Logo来自互联网，如果冒犯请随时联系我纠正。生活不易，何以解忧？\faKissWinkHeart}
% 信件结尾词附言
\letterenclosure[最后]{对你的关注，再次表示由衷的感谢！}
%-------------------------------------------------------------------------------


%-------------------------------------------------------------------------------
% dukang导言区设定部分
%-------------------------------------------------------------------------------
% 打开该开关会启用某些正文内容的首行缩进
\setbool{dukangParIndent}{true}
% 是否为PDF书签添加标题前的标号
\setbool{dukangBookmarkLeadingNumber}{true}
%-------------------------------------------------------------------------------
% 定义编译之后的PDF相关属性
\hypersetup{%
  pdftitle={Awesome-CV-Dukang手册},
  pdfauthor={William Yao},
  pdfcreator={William Yao},
  pdfsubject={引用Awesome-CV模板，继承并加强},
  pdfkeywords={tex,latex,pdf,awesome,cv,resume,book,article,william,yao,dukang}
}
%-------------------------------------------------------------------------------


%-------------------------------------------------------------------------------
\begin{document}
%-------------------------------------------------------------------------------
% Awesome-CV文档区设定部分
%-------------------------------------------------------------------------------
% 文档开头的抬头部分，可以注释掉
% 可用对齐选项为C: 居中，L: 左对齐，R: 右对齐
\makecvheader[R]
%-------------------------------------------------------------------------------
% 每页的页脚定义，分为左中右三个部分，分别对应每个{}
% 各部分都可留空，但不能删掉{}
\makecvfooter
  {\hyperref{http://williamyao.com}{}{}{\dk}}% 左边部分
  {\faWineBottle}% 中间部分
  {\thepage}% 右边部分
%-------------------------------------------------------------------------------


%-------------------------------------------------------------------------------
% 正文内容部分
% 独立引用每个文件，或者直接书写正文
%-------------------------------------------------------------------------------
\input{dukang-doc/00-cover.tex}
\input{dukang-doc/01-intro.tex}
\input{dukang-doc/02-arch.tex}
\input{dukang-doc/03-usage.tex}
\input{dukang-doc/04-comp.tex}
\input{dukang-doc/05-update.tex}
%-------------------------------------------------------------------------------


\end{document}
